package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
import qc.module.qms.dto.mq.QmsMqDataFlowLogMessageDto;
import qc.module.qms.entity.QmsLogDataflow;

/**
 * QmsLogDataflowMapper
 *
 * @author QuCheng Tech
 * @since 2025/10/9
 */
@Mapper
public interface QmsLogDataflowMapper {
    QmsLogDataflowMapper MAPPER = Mappers.getMapper(QmsLogDataflowMapper.class);

    @Mapping(target = "intm", ignore = true)
    @Mapping(target = "millis", ignore = true)
    QmsLogDataflow toEntity(QmsMqDataFlowLogMessageDto dto);
}
